﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using ESRI.ArcGIS.Framework;

namespace ActivityInfo.ArcGIS.Tiles
{
    class ArcGISWindow : IWin32Window
    {
        private readonly IntPtr handle;

        public ArcGISWindow(int hWnd)
        {
            this.handle = new IntPtr(hWnd);
        }

        public ArcGISWindow(IApplication app)
            : this(app.hWnd)
        {
        }

        #region IWin32Window Members

        public IntPtr Handle
        {
            get {
                return handle;
            }
        }

        #endregion
    }
}
